package cn.wolfcode.trip.base.service.impl;

import cn.wolfcode.trip.base.domain.Goods;
import cn.wolfcode.trip.base.mapper.GoodsMapper;
import cn.wolfcode.trip.base.service.IGoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class GoodsServiceImpl implements IGoodsService {

    @Autowired
    private GoodsMapper goodsMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return 0;
    }

    @Override
    public int insert(Goods record) {
        return 0;
    }

    @Override
    public Goods selectByPrimaryKey(Long id) {
        return null;
    }

    @Override
    public List<Goods> selectAll() {

        return goodsMapper.selectAll();
    }

    @Override
    public int updateByPrimaryKey(Goods record) {
        return 0;
    }
}
